package com.ruoyi.ora.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 会员等级配置对象 ora_member_level
 * 
 * @author liuwp
 * @date 2024-11-25
 */
public class MemberLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 策略标识 */
    @Excel(name = "策略标识")
    private String strategySign;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 会员金额 */
    @Excel(name = "会员金额")
    private BigDecimal levelFee;

    /** 币种 */
    @Excel(name = "币种", dictType = "ora_sys_currency")
    private String currency;

    /** 可用状态 */
    @Excel(name = "可用状态", dictType = "sys_normal_disable")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderBy;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;
    /** 会员时长，单位/天*/
    @Excel(name = "会员时长，单位/天")
    private Long memberDuration;
    /** 套餐类型，字典：ora_member_thali_type ，1：免费，2：月，3：年，9：灵活包 */
    @Excel(name = "套餐类型")
    private Long thaliType;
    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String thaliName;
    /** 套餐时长  单位/分钟 */
    @Excel(name = "套餐时长  单位/分钟")
    private Long thaliDuration;
    /** 套餐流量   单位/KB */
    @Excel(name = "套餐流量   单位/KB")
    private Long thaliSize;


    private MemberLevelDesc memberLevelDesc;

    /** 会员等级配置多语言信息 */
    private List<MemberLevelDesc> memberLevelDescList;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getMemberDuration() {
        return memberDuration;
    }

    public void setMemberDuration(Long memberDuration) {
        this.memberDuration = memberDuration;
    }

    public Long getThaliType() {
        return thaliType;
    }

    public void setThaliType(Long thaliType) {
        this.thaliType = thaliType;
    }

    public String getThaliName() {
        return thaliName;
    }

    public void setThaliName(String thaliName) {
        this.thaliName = thaliName;
    }

    public Long getThaliDuration() {
        return thaliDuration;
    }

    public void setThaliDuration(Long thaliDuration) {
        this.thaliDuration = thaliDuration;
    }

    public Long getThaliSize() {
        return thaliSize;
    }

    public void setThaliSize(Long thaliSize) {
        this.thaliSize = thaliSize;
    }

    public MemberLevelDesc getMemberLevelDesc() {
        return memberLevelDesc;
    }

    public void setMemberLevelDesc(MemberLevelDesc memberLevelDesc) {
        this.memberLevelDesc = memberLevelDesc;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStrategySign(String strategySign) 
    {
        this.strategySign = strategySign;
    }

    public String getStrategySign() 
    {
        return strategySign;
    }
    public void setLevelFee(BigDecimal levelFee) 
    {
        this.levelFee = levelFee;
    }

    public BigDecimal getLevelFee() 
    {
        return levelFee;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setOrderBy(Integer orderBy) 
    {
        this.orderBy = orderBy;
    }

    public Integer getOrderBy() 
    {
        return orderBy;
    }

    public List<MemberLevelDesc> getMemberLevelDescList()
    {
        return memberLevelDescList;
    }

    public void setMemberLevelDescList(List<MemberLevelDesc> memberLevelDescList)
    {
        this.memberLevelDescList = memberLevelDescList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("strategySign", getStrategySign())
            .append("levelFee", getLevelFee())
            .append("currency", getCurrency())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("position", getPosition())
            .append("orderBy", getOrderBy())
            .append("memberLevelDescList", getMemberLevelDescList())
            .toString();
    }
}
